<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@include file="../base.jsp" %> 

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title></title>    
<link href="../css/main.css" rel="stylesheet" type="text/css" >
<link href="../css/table.css" rel="stylesheet" type="text/css" >
<link rel="stylesheet" type="text/css" href="${path}/js/jquery/easyui/themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="${path}/js/jquery/easyui/themes/icon.css">
<script type="text/javascript" src="${path}/js/jquery/easyui/jquery-1.8.0.min.js"></script>
<script type="text/javascript" src="${path}/js/jquery/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript">
function submit11(){  
    if(!$('#form1').form('validate')){
		alert('数据填写不完整');
		return;
	}
    $('#submit1').val('处理中..');
    $("#submit1").attr({"disabled":"disabled"});
    document.form1.submit();
}
function submit22(){  
    if(!$('#form2').form('validate')){
		alert('数据填写不完整');
		return;
	}
    $('#submit2').val('处理中..');
    $("#submit2").attr({"disabled":"disabled"});
    document.form2.submit();
}
</script>

</head>

<body class="font14">
<div style="color: red; text-align: center;">
	<s:property value="#attr.result"/>
</div>
<s:form name = "form2" id = "form2" action="systemMag_addRiskRule.action" namespace="/admin123/systemMag" theme="simple">
<table class="table1" cellpadding="0" cellspacing="0" align="center" width="600">
	<thead>
		<tr>
			<td align="center" colspan="5">风控规则管理</td>
		</tr>
	</thead>
	<tr>
		<td>大额预警:<input name="moneySingleAlert" value="${attr.moneySingleAlert}" size="5" maxlength="9" class="easyui-numberbox" data-options="required:true" />元</td>
	</tr>
	<tr>
		<td>单笔交易限额:<input name="moneySingleLimited" value="${attr.moneySingleLimited}" size="5" maxlength="9" class="easyui-numberbox" data-options="required:true" />元</td>
	</tr>
	<tr>
		<td>当日累计消费限额:<input name="moneyDayLimited" value="${attr.moneyDayLimited}" size="5" maxlength="9" class="easyui-numberbox" data-options="required:true" />元</td>
	</tr>
	<tr>
		<td>当日累计消费次数限制:<input name="timesDayLimited" value="${attr.timesDayLimited}" size="5" maxlength="9" class="easyui-numberbox" data-options="required:true" />次</td>
	</tr>
	<tr>
		<td>商户当日累计交易预警金额:<input name="moneyDay4MerchantAlert" value="${attr.moneyDay4MerchantAlert}" size="5" maxlength="9" class="easyui-numberbox" data-options="required:true" />元</td>
	</tr>
	<tr>
		<td>预卡帐户充值有月充值限额:<input name="moneySupply4CosumeCardMonthLimited" value="${attr.moneySupply4CosumeCardMonthLimited}" size="5" maxlength="9" class="easyui-numberbox" data-options="required:true" />元</td>
	</tr>
	<tr>
		<td>预卡帐户充值有日充值限额:<input name="moneySupply4CosumeCardDayLimited" value="${attr.moneySupply4CosumeCardDayLimited}" size="5" maxlength="9" class="easyui-numberbox" data-options="required:true" />元</td>
	</tr>
	<tr>
		<td> 
			<input type="button" id="submit2" value="保存" onclick="submit22()">
		</td>
	</tr>
	<tr>
		<td>
			<font color="red">*</font>对于异常交易，系统记录这笔交易并拒绝交易请求</br>
		</td>
	</tr>
	<tr>
		<td>
			<font color="red">*</font>对于可疑交易, 系统记录这笔交易
		</td>
	</tr>
</table>
</s:form>
<br/>
<!-- 
<s:form name = "form3" id = "form3" action="systemMag!deleteBlackName.action" namespace="/admin123/systemMag" theme="simple">
<input type="hidden" name="blackNameId" id="blackNameId"/>
<table class="table1" cellpadding="0" cellspacing="0" align="center" width="600">
	<thead>
		<tr>
			<td align="center" colspan="5">黑名单【客户账号】</td>
		</tr>
	</thead>
	<s:iterator value="#attr.fengKongRuleMap.blackList">
	<tr>
		<td align="center">
			<s:property value="propValue"/>
		</td>
		<td align="center">
			<a id="deleteSelected_Filter" onclick="deleteSelected(${id});" class="easyui-linkbutton" data-options="plain:true,iconCls:'icon-cancel'"></a>
		</td>
	</tr>
	</s:iterator>
</table>
</s:form>
</body>

<script type="text/javascript">
  function deleteSelected(id){
      if(!confirm('确定删除吗？')){
          return false;
      }

      $('#blackNameId').val(id);
      $('#form3').submit();
  }
  </script>
   -->
</html>